<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include admin_template('phpcms','header_news'); ?>
<DIV id=Uc7_dvPanelTitle>
<?php 
if(isset($list_news_sql))
{
//$sql=(isset($list_news_sql))?$list_news_sql:"SELECT a.title,a.style,b.copyfrom,a.userid,a.inputtime,a.url FROM `phpcms_content` a, `phpcms_c_news` b WHERE a.contentid=b.contentid AND a.status=99  ".get_sql_catid($catid)." ORDER BY a.listorder desc,a.contentid DESC";
$sql=$list_news_sql;
echo $list_news_sql;
echo tag('phpcms', 'tag_content_list_n',$sql , 0, 20, array (  'target' => '_blank',  'titlelen' => '46',  'width' => '100',  'height' => '75',));
}
else
{?>
<div id='tag_二级栏目标题列表'><?php if(isset($catid)&& isset($catid)) echo tag('phpcms', 'tag_content_list', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE  status=99  ".get_sql_catid($catid)." ORDER BY listorder DESC", $page, 20, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '65',), $catid);?></div><div class='tag_float_div' id='tag_float_div_二级栏目标题列表' tagname='二级栏目标题列表' module='phpcms' title='点击修改中文标签“{tag_二级栏目标题列表}”'></div>
<?php }?>


</div>
<!--end main-->
<?php include admin_template('phpcms','footer_news'); ?>